package pers.xiaojun.boot.module.system.dao.entity.dict;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import pers.xiaojun.boot.common.enums.CommonStatusEnum;
import pers.xiaojun.boot.mybatis.core.enitiy.BaseEntity;

import java.time.LocalDateTime;

/**
 * 数据类型实体
 *
 * @author xiaojun
 * @since 2025-11-05
 */
@TableName("system_dict_type")
@EqualsAndHashCode(callSuper = true)
@Data
public class DictTypeDO extends BaseEntity {

    /**
     * 字典主键
     */
    @TableId
    private Long id;

    /**
     * 字典名称
     */
    private String name;

    /**
     * 字典类型
     */
    private String type;

    /**
     * 状态
     * <p>
     * 枚举 {@link CommonStatusEnum}
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除时间
     */
    private LocalDateTime deletedTime;

}
